import { defineStore } from 'pinia'
import { ref } from 'vue'

export const useMeStore = defineStore('me', () => {
  // 当前发票申请记录
  const currentInvoice = ref(null)
  function setCurrentInvoice(item) {
    currentInvoice.value = item
  }

  return {
    currentInvoice,
    setCurrentInvoice,
  }
})
